package com.zzxy.spring5.controller;

import com.zzxy.spring5.service.TeacherServiceImpl;

public class TeacherController  {
    private TeacherServiceImpl teacherService;
    public TeacherServiceImpl getTeacherService(){
        return teacherService;
    }
    public void setTeacherService(TeacherServiceImpl teacherService){
        this.teacherService=teacherService;
    }
    public void register(String username,String password){
        teacherService.register(username,password);
    }
}



